package jimo.springboot.service;

import jimo.springboot.dao.UserDao;
import jimo.springboot.mappers.UserMapper;
import jimo.springboot.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserService {
    @Autowired
    private UserMapper userMapper;

    public List<User> queryAll(){
    return this.userMapper.selectAll();
    }
}
